package com.tomato.modules.goods;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 商品服务
 *
 * @author lizhifu
 * @date 2022/3/2
 */
@SpringBootApplication
@MapperScan("com.tomato.modules.goods.mapper")//使用MapperScan批量扫描所有的Mapper接口
public class TomatoGoodsApplication {
    public static void main(String[] args){
        SpringApplication.run(TomatoGoodsApplication.class, args);
        System.out.println("商品服务 服务启动成功");
    }
}
